package org.example.mynote.mapper;

import org.example.mynote.Entity.Notebook;

import java.util.List;
import java.util.Optional;

public interface NotebookMapper {

    List<Notebook> findByUserId(Long id);

    void insert(Notebook notebook);

    Optional<Object> findById(Long id);

    void update(Notebook notebook);

    void deleteById(Long id);
}
